<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<script type="text/javascript">
function validate()
{

if(register.username.value=="")
{
alert("User Name is Required");
return false;
}
var exp= /^[a-zA-Z]+$/;

 if(!register.username.value.match(exp))
{
alert("user name must be in charactors");
return false;
}

if(register.password.value=="")
{
alert("Pass Word is Required");
return false;
} 
if(register.addr.value=="")
{
alert("address is Required");
return false;
} 
if(register.phno.value=="")
{
alert("phone number is Required");
return false;
} 
var exp=/^[0-9]+$/;
if(!register.phno.value.match(exp))
{
alert("phone number in numbers");
return false;
}
return true;
}
</script>


<TITLE></TITLE>
</HEAD>
<BODY background="images/17.jpg">

<form action="usereg.jsp" method="post" name="register" onsubmit="return validate()">
<P>&nbsp;</P>
<P align=center>&nbsp; <STRONG>Welcome To USER REGISTRATION Page</STRONG></P>
<P align=center>&nbsp;</P>
<P align=center>
<TABLE border=1 cellPadding=3 cellSpacing=2 style="HEIGHT: 98px; WIDTH: 319px" 
width="75%">
  
  <TR>
    <TD><STRONG>User Name&nbsp;&nbsp;&nbsp;&nbsp; </STRONG></TD>
    <TD><INPUT type="text" id=text1 name="username"></TD></TR>
  <TR>
    <TD><STRONG>Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </STRONG></TD>
    <TD><INPUT type="password" name=password style="LEFT: 216px; TOP: 173px"></TD></TR>

  <TR>
    <TD><STRONG>Address&nbsp;&nbsp;&nbsp;&nbsp; </STRONG></TD>
    <TD><INPUT id=add name=addr></TD></TR>
  <TR>
    <TD><STRONG>Phone No&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </STRONG></TD>
    <TD><INPUT type="text" name=phno style="LEFT: 216px; TOP: 173px"></TD></TR>

  <TR>
  	<TD></TD>
    <TD>&nbsp; <INPUT id=submit1 name=submit1 style="BACKGROUND-COLOR: lavenderblush" type=submit value="Sign Up">&nbsp;&nbsp;&nbsp;<INPUT id=reset1 name=reset1 style="BACKGROUND-COLOR: lavenderblush; LEFT: 62px; TOP: 2px" type=reset value=Reset></TD></TR></TABLE></P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>

</form>

</BODY>
</HTML>
